package com.yuanheng100.asset.consts.person;

/**
 * Created by jlqian on 2016/10/31.
 */
public enum IDType
{
    IDENTITY_CARD((short)10,"身份证"),
    PASSPORT((short)11,"护照"),

    UNIFIED_SOCIAL_CREDIT_IDENTIFIER((short)20,"统一社会信用代码");

    private Short code;
    private String name;

    private IDType(Short code , String name){
        this.code = code;
        this.name = name;
    }

    public Short getCode()
    {
        return code;
    }

    public void setCode(Short code)
    {
        this.code = code;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }
}
